package com.movie.service.impl;

import com.movie.mapper.CommentMapper;
import com.movie.service.CommentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Liu Jiaquan
 * @Description
 * @date 2024/8/4 16:44
 */
@Service
public class CommentServiceImpl implements CommentService {
    @Autowired
    private CommentMapper commentMapper;

    @Override
    public int delete(Integer cid) {

        return commentMapper.delete(cid);
    }
}
